#include <stdio.h>

int main()
{
    int a[] = {1,2};
    int *p = a;
    printf("%p %d %p %d\n", p, *p, p+1, *(p+1));//

    char *p1 = (char*)a;
    printf("%p %d %p %d\n", p1, *p1, p1+1, *(p1+1));//

    char b[] = {'a', 'b','c','d','e'};
    int *q = (int*)b;
    printf("%p %d %p %d\n", q, *q, q+1, *(q+1));//
}